import request from '../utils/request'

export function getList(params) {
  return request.ajax({
      url: `/store/list`,
      method: 'post',
      params
  })
}

export function getInfo(id) {
  return request.ajax({
      url: `/store/${id}`,
      method: 'post'
  })
}